package com.redBook.mapper;

import com.redBook.dto.NoteCommentDTO;
import com.redBook.entity.NoteComment;
import com.redBook.vo.NoteCommentVO;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface NoteCommentMapper {
    void submitComment(NoteCommentDTO noteCommentDTO);

    List<NoteCommentVO> findByNoteId(Long noteId);
}
